package contents.entities;

import java.util.Date;

public class Absence {
    private int absenceId;
    private Teacher missingTeacher;
    private Date date;
    private int fromUnit;
    private int toUnit;
    
    public Absence(int absenceId, Teacher missingTeacher, Date date, int fromUnit, int toUnit) {
        this.absenceId = absenceId;
        this.missingTeacher = missingTeacher;
        this.date = date;
        this.fromUnit = fromUnit;
        this.toUnit = toUnit;
    }

    public int getAbsenceId() {
        return absenceId;
    }

    public Teacher getMissingTeacher() {
        return missingTeacher;
    }
    
    public Date getDate() {
        return date;
    }
    
    public int getFromUnit() {
        return fromUnit;
    }

    public int getToUnit() {
        return toUnit;
    }
}